package o;

import android.app.Activity;
import android.content.ActivityNotFoundException;
import com.huawei.appgallery.purchasehistory.api.bean.PurchaseInfoBean;
import com.huawei.appmarket.service.pay.purchase.view.AppTraceEditActivityProtocol;
import com.huawei.appmarket.service.pay.purchase.view.AppTraceEditActivityProtocol.Request;
import java.util.List;

public class ecr extends csu {
    public void ˏ(Activity activity, String str, boolean z) {
        cjo appTraceEditActivityProtocol = new AppTraceEditActivityProtocol();
        Request request = new Request();
        request.ˎ(str);
        request.ˊ(0);
        request.ˏ(z);
        appTraceEditActivityProtocol.ˎ(request);
        try {
            cjk.ˎ().ˎ(activity, new cjm("apptraceedit.activity", appTraceEditActivityProtocol), 1002);
        } catch (ActivityNotFoundException e) {
            Logger.ˋ("EditHistoryDispatcher", "ActivityNotFoundException :" + e.toString());
        }
    }

    public void ˊ(Activity activity, String str, boolean z) {
        cjo appTraceEditActivityProtocol = new AppTraceEditActivityProtocol();
        Request request = new Request();
        request.ˎ(str);
        request.ˊ(1);
        request.ˏ(z);
        appTraceEditActivityProtocol.ˎ(request);
        try {
            cjk.ˎ().ˎ(activity, new cjm("apptraceedit.activity", appTraceEditActivityProtocol), 1002);
        } catch (ActivityNotFoundException e) {
            Logger.ˋ("EditHistoryDispatcher", "ActivityNotFoundException :" + e.toString());
        }
    }

    public void ˊ(List<PurchaseInfoBean> list) {
        ebz.ॱ().ˋ(list);
    }

    public void ˊ(String str) {
        ebz.ॱ().ˋ(str);
    }
}
